#include <stdio.h>

int main(void)
{
     char A[] = {'b', 'e', 'i', 'a', 'a', 'n', 'g'};
     char B[] = {'b', 'e', 'i', 'f', 'a', 'n', 'g'};
     int i = 0;
     int n = sizeof(A) / sizeof(*A);
     int m = sizeof(B) / sizeof(*B);
     while (i != n && i != m)
     {
          if (A[i] == B[i])
          {
               ++i;
          }
          else if (A[i] > B[i])
          {
               printf("A>B\n");
               return 0;
          }
          else
          {
               printf("A<B\n");
               return 0;
          }
     }
     printf("A=B\n");
     return 0;
}
